package com.zhou.bjgl.bjgl.business_web.mapper;

import com.zhou.bjgl.bjgl.business_web.entity.BSigning;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhou.bjgl.bjgl.req.b_sign.BSigningChartsReq;
import com.zhou.bjgl.bjgl.req.b_sign.BSigningQueryReq;
import com.zhou.bjgl.bjgl.resp.sgin.BSigningResp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jz
 * @since 2021-07-04
 */
@Mapper
public interface BSigningMapper extends BaseMapper<BSigning> {

    /**
     * 查询签到信息
     *
     * @param req 签到信息查询实体
     * @return List<BSigningResp> 请假信息列表
     */
    List<BSigningResp> queryCheckList(BSigningQueryReq req);

    List<BSigningResp> queryNotCheckList(BSigningQueryReq req);

    Integer queryNotCheckForDate(BSigningChartsReq bSigningChartsReq);
}
